package com.gdcnano.nanoamp.media.sound
{
	import flash.media.Sound;
	import flash.media.SoundChannel;

	public interface ISoundState
	{
		/**
		 * Starts playing sound
		 * @param sound
		 * @param soundChannel
		 * @return 
		 * 
		 */		
		function startPlay(sound:Sound, soundChannel:SoundChannel, startPosition:Number):SoundChannel;
		
		/**
		 * Stops playing sound 
		 * @param soundChannel
		 * 
		 */		
		function stopPlay(soundChannel:SoundChannel):void;
		
		/**
		 * Pauses playing sound 
		 * @param soundChannel 
		 * @return time position where sound was paused
		 * 
		 */		
		function pause(soundChannel:SoundChannel):Number;
		
	}
}